//
//  XWSettingViewController.m
//  CGWSWW
//
//  Created by lanou3g on 16/8/13.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import "XWSettingViewController.h"
#import "XWSettingGroup.h"
#import "XWSettingArrowItem.h"
#import "XWSettingItem.h"
#import "XWSettingLabelItem.h"
#import "XWSettingSwitchItem.h"
@interface XWSettingViewController ()

@end

@implementation XWSettingViewController
#pragma mark 跳转控制器

-(void)setUpGroup00{
    XWSettingItem *accountItem = [XWSettingArrowItem itemWithTitle:@"账号管理" destVcClass:nil];
    XWSettingItem *collectionItem = [XWSettingArrowItem itemWithTitle:@"收藏" destVcClass:nil];
    
    XWSettingGroup *settingGroup00 = [[XWSettingGroup alloc]init];
    settingGroup00.header = @"设置常用功能";
    settingGroup00.items = @[accountItem,collectionItem];
    [self.data addObject:settingGroup00];

}
-(void)setUpGroup01{
    
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView.contentInset = UIEdgeInsetsMake(30, 0, 0, 0);
    self.navigationItem.title = @"设置";
    [self setUpGroup00];

}


@end
